package com.soilflow.common.excle;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class DuocaiArticleExcel {

    private Long  id;

    @ExcelProperty("文章标题")
    private String title;

    @ExcelProperty("文章内容")
    private String content;

    @ExcelProperty("分类名称")
    private String categoryName;

    @ExcelProperty("收藏数量")
    private int viewCount; //文章收藏数量

    @ExcelProperty("点赞数量")
    private int likeCount; //文章点赞数量

    @ExcelProperty("创建人")
    private String createBy;

    @ExcelProperty("创建时间")
    private Date createTime;
}
